<?php 
	require_once("actions/CommonAction.php");
	class GalerieAction extends CommonAction {
		private $champs;
	
		public function __construct() {
			parent::__construct();
		}
		
		public function execute() {
			parent::execute();
			if (strcmp($_SESSION["lang" ],"en")==0){
				$this->champs = Donnees::$galerieEN;
			}
			else{
				$this->champs = Donnees::$galerieFR;
			}
		}
		
		public function lire(){
			return parent::lireBD($this->champs, "PHP_GALERIE");
		}
	}